package appapi.dao;
import appapi.dto.AlarmLedgerModel;
import org.apache.ibatis.annotations.Param;

import appapi.Vo.record.GetAlarmPageVo;
import appapi.dto.GetAlarmPageDto;
import appapi.entity.Zhongjiao.AlarmledgerEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author  djq
 * @date 2023/6/12 14:06
 * @description: 
 */

@Mapper
public interface AlarmledgerMapper {
    int deleteByPrimaryKey(Long alarmId);

    int insert(AlarmledgerEntity record);

    int insertSelective(AlarmledgerEntity record);

    AlarmledgerEntity selectByPrimaryKey(Long alarmId);

    int updateByPrimaryKeySelective(AlarmledgerEntity record);

    int updateByPrimaryKey(AlarmledgerEntity record);

    int insertList(@Param("list")List<AlarmledgerEntity> list);

    List<AlarmledgerEntity> selectCreateTimeMax();

    List<GetAlarmPageVo> selectList(GetAlarmPageDto dto);

    List<AlarmLedgerModel> queryList(GetAlarmPageDto dto);
}